package game;

public class GridCell {
	// Index of the cell (left to right, top to bottom, zero-indexed)
	public int mCellNumber;
	// X grid position, zero indexed
	public int mColumn;
	// Y grid position, zero indexed
	public int mRow;
	// Value of the digit in the cell
	public int mValue;
	// User's entered value
	private int mUserValue;
	// Id of the enclosing cage
	public int mCageId;
	// String of the cage
	public String mCageText;
	// Identifier of whether this cell is in a cage
	public boolean mInCage;

	public int getmCageId() {
		return mCageId;
	}

	public GridCell() {
		this.mCageId = 0;
		this.mCellNumber = 0;
		this.mColumn = 0;
		this.mRow = 0;
		this.mValue = 0;
		this.mUserValue = 0;
		this.mCageText = "";
		this.mInCage = false;
	}
	public void setCageId(int cId)
	{
		this.mCageId = cId;
	}

	public int getmUserValue() {
		return mUserValue;
	}

	public void setmUserValue(int mUserValue) {
		this.mUserValue = mUserValue;
	}
	
	

	public String getmCageText() {
		return mCageText;
	}

	public void setmCageText(String mCageText) {
		this.mCageText = mCageText;
	}

	@Override
	public String toString() {
		return "GridCell [mCellNumber=" + mCellNumber + ", mColumn=" + mColumn
				+ ", mRow=" + mRow + ", mValue=" + mValue + ", mCageId="
				+ mCageId + ", mCageText=" + mCageText + "]";
	}

	
}


